package com.example.QQ;

import java.io.IOException;

import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class AddFriends {
	public String id = null;
	 public void AddFriend() throws IOException {
	        FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("AddFriends.fxml"));
	        Scene scene = new Scene(fxmlLoader.load());
	        Stage stage = new Stage();
	        stage.setTitle("好友添加界面");//设置标题
	        stage.setScene(scene);
	        stage.show();
	    }
}
